<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>LoadMusic</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">LoadMusic()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result = <font color="#006666"><b>LoadMusic</b></font>(#Music, Filename$)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Loads the specified music module. <a href="playmusic.html">PlayMusic()</a> can be used to start playing the music. 
<a href="http://modplug-xmms.sourceforge.net/">ModPlug</a> supports a lot of music formats, which includes: Protracker (4 channels), 
FastTracker (up to 32 channels, 16-bit quality), Impulse Tracker, etc. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Music</i></td>
<td width="90%"> 
 
A number to identify the new music module. 
<a href="../reference/purebasic_objects.html">#PB_Any</a> can be used to auto-generate this number. 

 

</td></tr>
<tr><td><i>Filename$</i></td>
<td> 
 
The music module filename to load. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



Nonzero if the music module has been successfully loaded, zero otherwise. 

 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="catchmusic.html">CatchMusic()</a>, <a href="playmusic.html">PlayMusic()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=ismusic.html>IsMusic()</a> - <a href=index.html>Music Index</a> - <a href=musicvolume.html>MusicVolume()</a> -&gt;



</body></html>